<template>
	<view>
		<image :src="acticateimg" mode="" style="height: 100vh;width: 100vw;"></image>
	</view>
</template>

<script>
	const httpRequest = require("@/common/httpRequest.js")
	export default {
		data() {
			return {
				acticateimg:"",
			}
		},
		onLoad() {
			this.getpage()
		},
		methods: {
			getpage(){
				httpRequest.request('/api/index/getConfigInfo','GET',{}).then(res => {
					this.acticateimg = res.data.kp_image
					setTimeout(()=>{
						uni.reLaunch({
							url:"/pages/index/index"
						})
					},2000)
				})
			}
		}
	}
</script>

<style>

</style>
